package com.imagecollector.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: wrf
 * @Date: 2024/8/2 14:52
 * @Description:
 */
@Data
@Accessors(chain = true)
public class RewardRecordSaveDTO {

    @NotNull
    @ApiModelProperty(value = "任务id")
    private Integer taskId;

    @NotNull
    @ApiModelProperty(value = "任务完成用户id")
    private Integer userId;

    @NotNull
    @ApiModelProperty(value = "打款者id")
    private Integer rewardUserId;

    @NotNull
    @ApiModelProperty(value = "打款金额")
    private BigDecimal reward;

    @NotNull
    @ApiModelProperty(value = "任务审核记录表id")
    private Integer auditRecordId;

    @NotBlank
    @ApiModelProperty(value = "打款截图")
    private String pictureUrl;

}
